package com.lovo.invoicing.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lovo.invoicing.bean.SaleBean;
import com.lovo.invoicing.mapper.SaleMapper;
import com.lovo.invoicing.service.ISaleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class SaleServiceImpl extends ServiceImpl<SaleMapper, SaleBean> implements ISaleService {
   @Autowired
   SaleMapper saleMapper;

    @Override
    public void addSaleBeans(List<SaleBean> list, int saleInfoId) {
        saleMapper.insertSaleBeans(list,saleInfoId);
    }
}
